projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d260b7
)
configure: do not link with pthread on Android.
author
Jehan
<jehan@girinstud.io>
Tue, 4 Jul 2017 12:05:34 +0000
(14:05 +0200)
committer
Jehan
<jehan@girinstud.io>
Sun, 16 Jul 2017 13:25:34 +0000
(15:25 +0200)
It turns out Bionic (Android C library) has its own implementation of
pthread. With this minor change, babl is fully cross-compilable for
Android.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 75c4c8757594a596d82fc4bbdf174fe626ec2943..fd18e3cc84865e232798b1059ae4984a2728a40e 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-264,6
+264,12
@@
case "$target_or_host" in
MATH_LIB=
THREAD_LIB=
;;
+ *-*-android*)
+ os_win32=no
+ PATH_SEP=':'
+ DIR_SEP='/'
+ THREAD_LIB=
+ ;;
*)
os_win32=no
PATH_SEP=':'